package com.mccree.service;

import com.mccree.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeService {
    //查询所有的员工信息
    List<Employee> queryEmpList();
    //根据id查询员工信息
    Employee queryEmpById(Integer id);
    //根据id修改员工
    Integer updateEmpById(Employee employee);
    //新增员工
    Integer addEmp(Employee employee);
    //根据id删除员工信息
    void removeEmp(@Param("id")Integer id);
}
